<%@ page language="java" contentType="text/html; charset=ISO-8859-1"  pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>

<sx:head debug="false" />

<s:form namespace="/" action="procesaUsuario" id="frm_Usuario" name="frm_Usuario" method="post">
	<table width="880px" border="0" cellpadding="1" cellspacing="0">
		<tr><td colspan="3" height="20"></td></tr>
		<tr valign="middle">
			<td align="center" width="32px" >
				<img align="middle" width="24" height="24" alt="" src="<%= request.getContextPath() %>/images/icons/icon_vineta.png" >
			</td>
			<td align="left" width="348px"><span class="titulo" >&nbsp; <s:text name="M_Usuarios.tituloRegistro"/> </span> </td>
			<td align="right" width="500px" valign="middle" >&nbsp; 
				<sx:a targets="process" notifyTopics="/listarUsuarios" onclick="document.frm_Usuario.submit()" ><img align="middle" width="24" height="24" src="<%= request.getContextPath() %>/images/btns/btn_accept.png" /> <s:text name="M_Usuarios.grabar"/> </sx:a>
				<sx:submit targets="process" value="Grabar" ></sx:submit>
				| <sx:a targets="process" href="listarUsuarios.action" notifyTopics="/listarUsuarios" >
					<img  align="middle"width="24" height="24" src="<%= request.getContextPath() %>/images/btns/btn_cancel.png"/>
				<s:text name="M_Usuarios.cancelar"/> </sx:a>
			</td>
		</tr>
		<tr><td colspan="3" height="20" align="left" ></td></tr>
		<tr>
			<td colspan="3" height="20" align="center" >
				<span class="msg_error"><s:property value="%{#request.mensaje}" /></span>
			
				<input type="text" id="intCodigo_Usu" name="intCodigo_Usu" value="0">
				<table width="800" class="tbl_Manto_Registro" style="background-color: #B7B7B7;" cellpadding="1" cellspacing="1" border="0">
					<tr>
						<td height="20" width="15%" class="label" > <s:text name="M_Usuarios.nombre"/> &nbsp; </td>
						<td width="30%" >&nbsp; <s:textfield cssStyle="width:240px" id="strNombre_Usu" name="strNombre_Usu" /> </td>
						<td width="15%" class="label" > <s:text name="M_Usuarios.apellido" /> &nbsp; </td>
						<td width="30%" >&nbsp; <s:textfield required="true" cssStyle="width:240px" id="strApellido_Usu" name="strApellido_Usu" /> </td>
					</tr>
					<tr>
						<td height="20" width="15%" class="label" > <s:text name="M_Usuarios.login"/> &nbsp; </td>
						<td width="30%" >&nbsp; <s:textfield cssStyle="width:120px" id="strLogin_Usu" name="strLogin_Usu" /> </td>
						<td width="15%" class="label" > <s:text name="M_Usuarios.contrasena"/> &nbsp; </td>
						<td width="30%" >&nbsp; <s:password  cssStyle="width:120px" id="strClave_Usu" name="strClave_Usu" /> </td>
					</tr>
					<tr>
						<td height="20" width="15%" class="label" > <s:text name="M_Usuarios.cumple"/> &nbsp; </td>
						<td width="30%" >&nbsp; <s:textfield cssStyle="width:120px" id="strCumpleanios_Usu" name="strCumpleanios_Usu" /> </td>
						<td width="15%" class="label" > <s:text name="M_Usuarios.mail"/> &nbsp; </td>
						<td width="30%" >&nbsp; <s:password  cssStyle="width:240px" id="strMail_Usu" name="strMail_Usu" /> </td>
					</tr>
					<tr>
						<td height="20" width="15%" class="label" > <s:text name="M_Usuarios.tipoUsuario"/> &nbsp; </td>
						<td width="30%" >&nbsp; 
							<%--<s:select cssStyle="width:240px" ></s:select>--%>
							<select style="width:240px" ><option>Seleccione</option></select>
						 </td>
						<td width="15%" class="label" >  </td>
						<td width="30%" > </td>
					</tr>
				</table>
			</td>
		</tr>
		<tr><td colspan="3" height="20"></td></tr>
	</table>
</s:form>